package mvc.struts.annotation.entity;

import java.lang.reflect.Method;

public class Handler {

	private	Class<?>	controllerClass;
	private	Method		actionMethod;
	
	/**
	 * 
	 * @param controllerClass
	 * @param actionMethod
	 */
	public Handler(Class<?> controllerClass, Method actionMethod)
	{
		this.controllerClass = controllerClass;
		this.actionMethod    = actionMethod;
	}

	/**
	 * 
	 * @return
	 */
	public Class<?> getControllerClass() {
		
		return controllerClass;
	}

	/**
	 * 
	 * @return
	 */
	public Method getActionMethod() {
		
		return actionMethod;
	}	
}
